﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace HelloWorld
{
    public partial class SubForm1 : DevExpress.XtraEditors.XtraForm ,IDisposable
    {
        private Form1 _bf =  null ;
        public SubForm1(Form1 bf)
        {
            InitializeComponent();
            this._bf = bf;
            //textBox2.Text += "@@" + this._bf.getTxt();

        }

        private void button1_Click(object sender, EventArgs e)
        {
           // _bf.setTxt(this.textBox2.Text);
            this.Close();
         //   this.Hide();
        }



     



    }

}